package com.ruoyi.leave.mapper;

import com.ruoyi.leave.domain.WorkflowWaterPlanAdjust;

import java.util.List;

/**
 * 用水计划调整Mapper接口
 *
 * @author ruoyi
 * @date 2024-01-12
 */
public interface WorkflowWaterPlanAdjustMapper {
    /**
     * 查询用水计划调整
     *
     * @param id 用水计划调整ID
     * @return 用水计划调整
     */
    public WorkflowWaterPlanAdjust selectWorkflowWaterPlanAdjustById(String id);

    /**
     * 查询用水计划调整列表
     *
     * @param workflowWaterPlanAdjust 用水计划调整
     * @return 用水计划调整集合
     */
    public List<WorkflowWaterPlanAdjust> selectWorkflowWaterPlanAdjustList(WorkflowWaterPlanAdjust workflowWaterPlanAdjust);

    /**
     * 新增用水计划调整
     *
     * @param workflowWaterPlanAdjust 用水计划调整
     * @return 结果
     */
    public int insertWorkflowWaterPlanAdjust(WorkflowWaterPlanAdjust workflowWaterPlanAdjust);

    /**
     * 修改用水计划调整
     *
     * @param workflowWaterPlanAdjust 用水计划调整
     * @return 结果
     */
    public int updateWorkflowWaterPlanAdjust(WorkflowWaterPlanAdjust workflowWaterPlanAdjust);

    /**
     * 删除用水计划调整
     *
     * @param id 用水计划调整ID
     * @return 结果
     */
    public int deleteWorkflowWaterPlanAdjustById(String id);

    /**
     * 批量删除用水计划调整
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteWorkflowWaterPlanAdjustByIds(String[] ids);
}
